<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no" />
    <title>修改地址</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
    <style>

    </style>
</head>
<body>
<header class="aui-bar aui-bar-nav aui-border-b">
    <div class="aui-col-xs-12 aijiangli-bg">
    <div class="aui-pull-left aui-iconfont aui-icon-left icon-left-coler" tapmode onclick="closeWin()"></div>
    <div class="aui-title">
        修改地址
    </div>
    </div>
</header>
<footer class="aui-nav" tapmode onclick="updateAddress()">
    <div class="myBtn">确定修改</div>
</footer>
</body>
<script src="../script/api.js"></script>
<script src="../script/common.js"></script>
<script src="../script/mui.min.js"></script>
<script src="../script/jquery.min.js"></script>
<script>
    var addressId = "", goodId = "", orderType = "", count, aijiangliOrderId = "";
    apiready = function () {
        showLoading()
        api.parseTapmode();
        addressId = api.pageParam.addressId;
        var header = $api.dom('header');
        $api.fixIos7Bar(header);
        goodId = api.pageParam.goodId;
        var footer = $api.dom('footer');
        var header_h = $api.offset(header).h;
        var footer_h = $api.offset(footer).h;
        var body_h = $api.offset($api.dom('body')).h - header_h-footer_h;
        api.openFrame({
            name : 'addressEdit_frm',
            url : 'addressEdit_frm.html',
            rect : {
                x : 0,
                y : header_h,
                w : 'auto',
                h : body_h
            },
            pageParam:{
                addressId:addressId
            },
            bounces : false,
            vScrollBarEnabled : false,
            hScrollBarEnabled : false
        });


    }
    function updateAddress() {
        api.execScript({
            frameName:"addressEdit_frm",
            script:"updateAddress()"
        })
    }

</script>
</html>
